package com.imooc.scala.course04

//通常用到模式匹配中
object CassClassApp {
  def main(args: Array[String]): Unit = {

    println(Dog("wangcai").name)
  }

}

//不用new
case class Dog(name: String)